package 继承.父类成员访问.子类中访问父类的成员方法.成员方法名字不同;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 姚东名
 * Date: 2024-06-16
 * Time: 15:07
 */
public class Derived extends Base {
    public void methodB(){
        System.out.println("Derived中的methodB()方法");
    }
}
